<div class="widfats">
<div class="widget">
        <div class="toggle">&nbsp;</div>
        <h3 class="handle"><?php __('Edit Student');?></h3>
        <div class="content">
            <div class="students form">
            <?php echo $form->create('Student');?>
                <fieldset>
                    <?php e($form->hidden('id')); ?>
                    <?php e($form->hidden('number')); ?>
                    <?php e($form->hidden('name')); ?>
                    <div class="table">
                    <table class="two">
                        <!-- Personal Information -->
                        <tr>
                            <td class="title" colspan="4"><?php __('Basic Information'); ?></td>
                        </tr>
                        <tr>
                            <td class="key"><?php __('Student Name'); ?></td>
                            <td class="value"><?php e($student['name']); ?></td>
                            <td class="key"><?php __('Student Gender'); ?></td>
                            <td class="value"><?php e($form->input('gender', array(
                                    'label'=>false,
                                    'class'=>'select',
                                    'options'=>array('男'=>'男','女'=>'女')
                                ))); ?></td>
                        </tr>
                        <tr>
                            <td class="key"><?php __('Student Birthday'); ?></td>
                            <td class="value"><?php e($form->input('birthday', array('label'=>false, 'class'=>'input text'))); ?></td>
                            <td class="key"><?php __('Student Minority'); ?></td>
                            <td class="value"><?php e($form->input('student_minority_id', array('label'=>false, 'class'=>'select'))); ?></td>
                        </tr>
                         <tr>
                            <td class="key"><?php __('Student Province'); ?></td>
                            <td class="value"><?php e($form->input('student_province_id', array('label'=>false, 'class'=>'select'))); ?></td>
                            <td class="key"><?php __('Student Political'); ?></td>
                            <td class="value"><?php e($form->input('political', array(
                                    'label'=>false,
                                    'class'=>'select',
                                    'options'=>array('党员'=>'党员','团员'=>'团员')
                                ))); ?></td>
                        </tr>
                        <!-- Registration information -->
                        <tr>
                            <td class="title" colspan="4"><?php __('Registration Information'); ?></td>
                        </tr>
                        <tr>
                            <td class="key"><?php __('Student Number'); ?></td>
                            <td class="value"><?php e($student['number']); ?></td>
                            <td class="key"><?php __('Student Class'); ?></td>
                            <td class="value"><?php e($form->input('class', array('label'=>false, 'class'=>'input text'))); ?></td>
                        </tr>
                        <tr>
                            <td class="key"><?php __('Student Academic'); ?></td>
                            <td class="value"><?php e($form->input('academic', array(
                                    'label'=>false,
                                    'class'=>'select',
                                    'options'=>array(
                                        '本科(4年)'=>'本科(4年)',
                                        '本科(5年)'=>'本科(5年)',
                                        '硕士(2年)'=>'硕士(2年)',
                                        '博士(3年)'=>'博士(3年)')
                                ))); ?></td>
                            <td class="key"><?php __('Student Degree'); ?></td>
                            <td class="value"><?php e($form->input('degree', array(
                                    'label'=>false,
                                    'class'=>'select',
                                    'options'=>array(
                                        '学士'=>'学士',
                                        '硕士'=>'硕士',
                                        '博士'=>'博士')
                                ))); ?></td>
                        </tr>
                        <!-- Contanct Information -->
                        <tr>
                            <td class="title" colspan="4"><?php __('Contact Information'); ?></td>
                        </tr>
                        <tr>
                            <td class="key"><?php __('Student Phone'); ?></td>
                            <td class="value"><?php e($form->input('phone', array('label'=>false, 'class'=>'input text'))); ?></td>
                            <td class="key"><?php __('Student Email'); ?></td>
                            <td class="value"><?php e($form->input('email', array('label'=>false, 'class'=>'input text'))); ?></td>
                        </tr>
                    </table>
                    </div>
                    <?php e($form->submit(__('Save Changes', true), array('class' =>'submit attention'))); ?>
                </fieldset>
            <?php echo $form->end();?>
            </div>
        </div>
</div>
</div>